package day07;

import java.util.StringJoiner;

public class String01 {
    public static void main(String[] args) {
        String a="123";
        System.out.println(a);
        StringBuilder sb=new StringBuilder();
        sb.append("123").reverse();
        String c=sb.toString();
        StringJoiner d=new StringJoiner(",","[","]");
        String e=d.add(c).add(a).toString();
        System.out.println(a);
        System.out.println(c);
        System.out.println(d);
        System.out.println(e);

    }
}
